package com.ly.heart.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.SurveyReportRoofEntity;

/**
 * 勘测报告的屋顶状况明细Service接口
 * @author wutao
 * @date 2024-05-24
 */
public interface ISurveyReportRoofService extends IService<SurveyReportRoofEntity> {
    /**
     * 查询勘测报告的屋顶状况明细
     * @param id 勘测报告的屋顶状况明细ID
     * @return 勘测报告的屋顶状况明细
     */
    SurveyReportRoofEntity selectErpSurveyReportRoofInfoById (String id);

    /**
     * 查询勘测报告的屋顶状况明细列表
     * @param erpSurveyReportRoofInfo 勘测报告的屋顶状况明细
     * @return 勘测报告的屋顶状况明细集合
     */
    List<SurveyReportRoofEntity> selectErpSurveyReportRoofInfoList (SurveyReportRoofEntity erpSurveyReportRoofInfo);

    /**
     * 新增勘测报告的屋顶状况明细
     * @param erpSurveyReportRoofInfo 勘测报告的屋顶状况明细
     * @return 结果
     */
    int insertErpSurveyReportRoofInfo (SurveyReportRoofEntity erpSurveyReportRoofInfo);

    /**
     * 修改勘测报告的屋顶状况明细
     * @param erpSurveyReportRoofInfo 勘测报告的屋顶状况明细
     * @return 结果
     */
    int updateErpSurveyReportRoofInfo (SurveyReportRoofEntity erpSurveyReportRoofInfo);

    /**
     * 批量删除勘测报告的屋顶状况明细
     * @param ids 需要删除的勘测报告的屋顶状况明细ID
     * @return 结果
     */
    int deleteErpSurveyReportRoofInfoByIds (String[] ids);

    /**
     * 根据勘测报告Id删除勘测报告屋顶状况列表
     * @param reportId
     * @return 结果
     */
    int deleteSurveyReportRoofByReportId (String reportId);


    /**
     * 删除勘测报告的屋顶状况明细信息
     * @param id 勘测报告的屋顶状况明细ID
     * @return 结果
     */
    int deleteErpSurveyReportRoofInfoById (String id);
}
